package com.ruoyi.teaching.mapper;

import java.util.List;
import com.ruoyi.teaching.domain.TeachingStudentRecord;

/**
 * 学生记上课Mapper接口
 * 
 * @author ruoyi
 * @date 2022-10-20
 */
public interface TeachingStudentRecordMapper 
{
    /**
     * 查询学生记上课
     * 
     * @param recordId 学生记上课主键
     * @return 学生记上课
     */
    public TeachingStudentRecord selectTeachingStudentRecordByRecordId(Long recordId);

    /**
     * 查询学生记上课列表
     * 
     * @param teachingStudentRecord 学生记上课
     * @return 学生记上课集合
     */
    public List<TeachingStudentRecord> selectTeachingStudentRecordList(TeachingStudentRecord teachingStudentRecord);

    /**
     * 新增学生记上课
     * 
     * @param teachingStudentRecord 学生记上课
     * @return 结果
     */
    public int insertTeachingStudentRecord(TeachingStudentRecord teachingStudentRecord);

    /**
     * 修改学生记上课
     * 
     * @param teachingStudentRecord 学生记上课
     * @return 结果
     */
    public int updateTeachingStudentRecord(TeachingStudentRecord teachingStudentRecord);

    /**
     * 删除学生记上课
     * 
     * @param recordId 学生记上课主键
     * @return 结果
     */
    public int deleteTeachingStudentRecordByRecordId(Long recordId);

    /**
     * 批量删除学生记上课
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeachingStudentRecordByRecordIds(String[] recordIds);
}
